{include file="header.html"}

{include file="title.html"}

<style>
    #coupon{background: #fff;}
    #coupon .coupon_list h2{height:40px;line-height:40px;padding-left:10px;font-size:14px;}
    #coupon .coupon_list h2 a{color: #ff5c5b;}
    #coupon .coupon_list ul{}
    #coupon .coupon_list ul li{padding: 8px 10px 9px 10px;border-bottom: 1px solid #f5f5f5;height: 80px;}
    #coupon .coupon_list ul li .pic{width: 100px;height: 80px;margin: 0px 12px 0 0;display: inline-block;overflow: hidden;position: relative;float:left;}
    #coupon .coupon_list ul li .info{float:left;}
    #coupon .coupon_list ul li .info p{font-size: 12px;height:25px;line-height:25px;overflow: hidden;}
</style>

<section id="coupon">
    <!-- {foreach from=$store_list item=store name=fe_store} -->
    <div class="coupon_list">
        <h2>{$lang.store}：<a href="{url app=store&act=coupon&id=$store.store_id}">{$store.store_name}</a></h2>
        <ul class="list">
            <!-- {foreach from=$store.coupons item=coupon name=fe_coupon} -->
            <a href="{url app=coupon&act=view&id=$coupon.coupon_id}">
                <li>
                    <div class="pic">
                        <img src="{$site_url}/{$coupon.coupon_bg}" width="100" height="80" />
                    </div>
                    <div class="info">
                        <p>{$coupon.start_time|date} {$lang.zhi} <!--{if $coupon.end_time}-->{$coupon.end_time|date}<!--{else}-->{$lang.no_limit}<!--{/if}--></p>
                        <p>{$lang.man}{$coupon.min_amount|price}</p>
                        <p>{$lang.can_deduct}{$coupon.coupon_value|price}</p>
                    </div>
                </li>
            </a>
            <!--{/foreach}-->
        </ul>
    </div>
    <!-- {/foreach} -->
    {include file='page.bottom.html'}
</section>
{include file="footer.html"}